<?php


namespace app\server\controller;


use app\index\controller\Base;
use app\server\model\BackYue as BackYueModel;
class Backyue extends Base
{
    public function get(){
        $user = new BackYueModel();
        $d=$this->request->param();
        return $user->selectModel($d);
    }
    public function update()
    {
        $data = $this->request->param();
        $res = new BackYueModel();
        return $res->updateModel($data);
    }
    public function save(){
        $res = new BackYueModel();
        $data = $this->request->param();
        $d = $res->saveModel($data);
        return $d->id;
    }
}